package chap4;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Top2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请您输入韩同学的名次：");
        int lev = sc.nextInt();
        final int x=8;
        switch (lev) {
            case 1: {
                System.out.println("参加麻省理工学院的夏令营");
            }
            break;
            case 2: {
                System.out.println("奖励hp笔记本电脑一台");
            }
            break;
            case 3: {
                System.out.println("奖励移动硬盘一个");
            }
            break;
            case 4:
            case 5:
            case 6: {
                System.out.println("发一个荣誉证书");
            }
            break;
            case x:
                System.out.println("发一个笔记本");
                break;
            default: {
                System.out.println("没有奖励");
            }
            break;
        }
    }
}
